﻿namespace KinonekoSoftware.Studio.Messages
{

    public sealed class UseCustomCatalogMessage : MessageCore
    {

        /// <summary>
        /// 类型
        /// </summary>
        public required Action<KeywordCatalog> Handler { get; init; }

        /// <summary>
        /// 
        /// </summary>
        public required InstanceType Type { get; init; }

        /// <summary>
        /// 是否开启
        /// </summary>
        public required bool IsEnabled { get; init; }
    }

    public sealed class UseCustomCatalogMessage2 : MessageCore
    {

        /// <summary>
        /// 类型
        /// </summary>
        public required Action<KeywordCatalog> Handler { get; init; }

        /// <summary>
        /// 
        /// </summary>
        public required string CustomType { get; init; }

        /// <summary>
        /// 是否开启
        /// </summary>
        public required bool IsEnabled { get; init; }
    }
}